package xyz.yolin.service;

import xyz.yolin.pojo.Admin;

import java.util.List;
import java.util.Map;

public interface AdminService {
    public int create(Admin admin);
    public int delete(String str);
    public int update(Admin admin);
    public List<Admin> query(Admin admin);
    public Admin detail(int id);
    public int count(Admin admin);
    public Admin login(String account,String password);
}
